// 加载中...组件
import React, { Component } from "react";
import { Spin } from "antd";
import styled from "styled-components";
class Loading extends Component {
    render() {
        return (
            <Container>
                <Spin size="large" tip="别催了，疯狂加载中..." />
            </Container>
        );
    }
}

// 容器样式
const Container = styled.div`
    margin: 0 0;
    padding-top: 20%;
    text-align: center;
    background: rgb(255, 255, 255);
    border-radius: 4px;
`;

export default Loading;
